package com.zkt.practice.server.mapper;

import com.zkt.practice.server.entity.dto.PracticeSubjectDTO;
import com.zkt.practice.server.entity.po.SubjectPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2025/3/23
 * @description 题目mapper
 **/

@Mapper
public interface SubjectMapper {
	
	/**
	 * 获取练习题目
	 */
	List<SubjectPO> getPracticeSubject(PracticeSubjectDTO dto);
	
	/**
	 * 获取题目详情
	 */
	SubjectPO selectById(Long subjectId);
	
}
